package com.vq3.digitalizationsoftwareintegrates.Mapper.Spot_Check;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.S_C_DatesEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.S_C_PointEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
@DS("db02")
public interface S_C_PointMapper extends BaseMapper<S_C_PointEntity> {

    @Select("SELECT * FROM s_c_point ORDER BY point_id DESC LIMIT 1")
    S_C_PointEntity findOrderByIDLimit1();

}
